package com.cms.auxiliary;

import org.springframework.beans.factory.annotation.Autowired;

import com.cms.auxiliary.entity.AuxiConfig;
import com.cms.auxiliary.manager.AuxiConfigMng;
import com.cms.core.JeeCoreAction;

/**
 * 辅助系统的action祖先。
 * <p>
 * 处理AuxiConfig配置AuxiConfig配置
 * </p>
 * 
 * @author liufang
 * 
 */
@SuppressWarnings("serial")
public abstract class AuxiSysAction extends JeeCoreAction {
	public AuxiConfig getConfig() {
		return auxiConfigMng.findById(getWebId());
	}

	@Autowired
	protected AuxiConfigMng auxiConfigMng;
}